<?php

/**
 * @author deltamaster
 * @copyright 2009
 */

require_once "./include/common.inc.php";

if (!array_key_exists('redirecturl',$_SESSION))
	$_SESSION['redirecturl'] = "index.php";
if (!array_key_exists('redirectmessage',$_SESSION))
	$_SESSION['redirectmessage'] = $lang['default_redirect_message'];

$redirecturl = $_SESSION['redirecturl'];
$redirectmessage = $_SESSION['redirectmessage'];

$_SESSION['redirecturl'] = "index.php";
$_SESSION['redirectmessage'] = $lang['default_redirect_message'];

include template('redirect');

?>